package com.test.card.repository;

import com.test.card.bean.CardInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface CardInfoRepository {

    @Update("update card_info set state=#{state},update_time=#{updateTime} where card_no = #{cardNo}")
    Integer updateCardState(CardInfo cardInfo);
}
